package com.example.kiratest.notify.Enum;


/**
 * 业务单类型
 *
 * @Author 1024创新实验室: 开云
 * @Date 2022/7/28 20:37:15
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright  <a href="https://1024lab.net">1024创新实验室</a>
 */
public enum MsgTypeEnum implements BaseEnum {

    /**
     * notify
     */
    NOTIFY(1, "通知类消息","dtv1.card//IM_GROUP.cidfRR5ZAJfchceS4jv6+5YCw=="),

    NOTIFY2(1, "通知类消息","dtv1.card//IM_GROUP.cid6Ks/gaDvofWDO3rp4XyA1A=="),

    /**
     * alarm
     */
    ALARM(2, "告警类消息","dtv1.card//IM_GROUP.cidtH+LcNEEKO2+IPjEICYIag==")
    ;

    private Integer value;
    private String desc;
    private String openSpaceId;

    MsgTypeEnum(Integer value, String desc, String openSpaceId) {
        this.value = value;
        this.desc = desc;
        this.openSpaceId = openSpaceId;
    }


    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public String getOpenSpaceId() {
        return openSpaceId;
    }
}
